<!DOCTYPE html><html lang="en">
    <head><meta charset="UTF-8"><title>文章列表</title><bootstrapcss/></head>
    <body><table class="table table-bordered table-striped table-hover table-condensed">
        <thead><tr><th width="3%">aid</th><th width="9%">所属栏目</th><th width="20%">标题</th><th width="8%">作者</th><th width="22%">标签</th><th width="4%">原创</th><th width="4%">显示</th><th width="4%">置顶</th><th width="5%">点击数</th><th width="13%">发布时间</th><th width="8%">操作</th></tr></thead>
        <?php foreach($data as $key => $value) { ?>
            <tr><td><?php  echo $value['id']; ?></td><td><?php  echo $value['cid']; ?></td>
                <td><a href="/a/<?php  echo $value['id']; ?>" target="_blank"><?php  echo $value['title']; ?></a></td><td><?php  echo $value['author']; ?></td>
                <td>
                    <?php  echo $value['tags']; ?>
                </td>
                <td><if condition="$v['isdel'] eq 1"> ✔<else/> ✘</if></td>
                <td><?php if($value['visible']){ echo '✔';  }else{ echo '✘'; } ?>
                </td>
                <td><?php if($value['istop']){ echo '✔';  }else{ echo '✘'; } ?></td>
                <td><?php  echo $value['click']; ?></td><td> <?php echo $value['create_time'];?></td><td> <a href="/admin.article/edit?id=<?php echo $value['id'];?>">修改</a> | <a href="javascript:if(confirm('确定要删除吗?')) location='/admin.article/isdel?id=<?php echo $value['id'];?>'">删除</a></td></tr>
          <?php } ?>
        </table>
     
   
        <div style="text-align: center;"><?php  echo $page; ?> </div><bootstrapjs/></body></html>